package com.xkdx.caipiao.presistence.identity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.caipiao.module.network.AbsAction;

public class IdentityAction extends AbsAction {
	String id, token,signcode;

	public IdentityAction(String id, String token,String signcode) {
		this.id = id;
		this.token = token;
		this.signcode = signcode;

	}

	@Override
	public void constructRequest() {

		HashMap<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("logintoken", token);
		map.put("signcode", signcode);

		String json = constructJson(map);
		Parameter parameter = new Parameter("User", "MainInfoGet", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);
	}
}
